<template>
	<view>
		<button type="default" @click="addPhone">手机联系人</button>
	</view>
</template>

<script>
	export default {
		methods:{
			addPhone(){
				uni.addPhoneContact({
					nickName: '昵称',
					lastName: '姓',
					firstName: '名',
					remark: '备注',
					mobilePhoneNumber: '114',
					weChatNumber: 'wx123',
					success: function () {
						console.log('success');
					},
					fail: function () {
						console.log('fail');
					}
				});
			}
		}
	}
</script>

<style scoped>

</style>